#ifndef _BOSS_3_ITEM_ENITY_H_
#define _BOSS_3_ITEM_ENITY_H_

#include "AbstractEntity.h"
#include "BossItemData.h"
#include "EffectManager.h"

#define MOVING_RANGE_X 70
#define GRAVITY -9.8f

class Boss3ItemEntity : public AbstractEntity
{
public:
	int life;
	Boss3ItemEntity(ItemType Itemtype);
	virtual void update(long time);

	virtual void draw(long time);

	virtual AbstractData* getAbstractData();

	virtual void updateData(int actions, int effect);

	~Boss3ItemEntity();

private:
	BossItemData* _data;
	double _x0;
	double _y0;
	float _v0;
	double _nextX;
	double _range;
	bool _inLand;
};
#endif